/* eslint-disable */

const jumpFun = {};

/**
 *      route： 对应路由跳转方法.
 * jsbridgeFn： 对应的jsbridge定义方法  // 定义路径 src/jsbridge/jsbridge-tool.js
 *     params： 对应jsbridge方法定义的params值  **  无需定义url，方法中自定义处理url
  */

// 
jumpFun['activateSign'] = {
    routeName: 'activateSign',
    pc(payload){
        return `/grain/inviteCard/helper/cardDetail?cardNo=${payload.query.cardNo}`
    }
}

jumpFun['activateCard'] = {
    routeName: 'activateCard',
    pc(payload){
        return `/grain/inviteCard/helper/${payload.query.cardNo}/activate`
    }
}

// 写作业
jumpFun['writeHomework'] = {
    routeName: 'writeHomework'
}

jumpFun['homeworkSubmitSuccess'] = {
    routeName: 'viewHomework'
}


export default jumpFun;
